class_name CardState

extends Node

#状态种类定义
enum State{BASE, CLICKED, DRAGGING, AIMING, RELEASED}

#状态切换信号
signal transition_requested(from: CardState, to: State)

#思考:不理解这里为什么要加个@export
@export var state: State

var card_ui: CardUI

func enter() -> void:
	pass
	
func exit() ->void:
	pass

func on_input(_event: InputEvent) -> void:
	pass
	
func on_gui_input(_event: InputEvent) -> void:
	pass
	
func on_mouse_entered() -> void:
	pass
	
func on_mouse_exited() -> void:
	pass
